#ifndef CALENDARITEM_H
#define CALENDARITEM_H
#include <QMap>
#include <QString>
#include <QDateTime>
#include <QColor>

class CalendarItem
{
public:
    CalendarItem();

    int id;
    QDateTime stime;
    QDateTime etime;
    int companyID;
    QString company;
    int prodID;
    QString product;
    int compID;
    QString component;
    int cateID;
    QString category;
    QString comment;
    bool billable;
    QColor color;
};


typedef QMap<int, CalendarItem> CalendarItems;

#endif // CALENDARITEM_H
